package com.example.comiccenter.service;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.comiccenter.domain.User;
import com.example.comiccenter.utils.ResultData;
import com.example.comiccenter.utils.SearchBean;
import org.springframework.stereotype.Repository;

@Repository
public interface UserService {
    ResultData insertUser(User user);
    ResultData deleteUser(String username);
    ResultData updateUser(User user);
    ResultData loadAAllUsers(SearchBean<User> searchBean);
    //判断用户是否存在
    ResultData userLogin(User user);
}
